Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Function |trim

std/text/compose::|trim


Usage

|trim(text)

Parameters

↳ text: string

Return

string


Trim string.

Return string with leading and trailing whitespace removed. Whitespace is defined according to the terms of the Unicode Derived Core Property White_Space, which includes newlines.